package org.camunda.bpm.plugin;

import java.util.HashMap;
import java.util.Map;

public class PluginManager {
    private Map<String, IPlugin> plugins = new HashMap<>();

    public void registerPlugin(String name, IPlugin plugin) {
        plugins.put(name, plugin);
    }

    public IPlugin getPlugin(String name) {
        return plugins.get(name);
    }
}
